etherboot: [build] sort objects in blib.a
authorOlaf Hering <olaf@aepfle.de>
Tue, 3 Feb 2015 11:45:36 +0000 (12:45 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 24 Feb 2015 16:19:19 +0000 (16:19 +0000)
commitcb8366d34ef5021af761ca1977d9cb305ba8fabd
tree1994d3ddbdb75b9cd53f94b2f30d0a8304031412
parentd76a66849100c4d0b1c4efe95845483681889e36
etherboot: [build] sort objects in blib.a

When building hvmloader for Xen tools the ipxe objects are also linked
into the binary. Unfortunately the linker will place them in the order
found in the archive. Since this order is random the resulting hvmloader
binary differs when it was built from identical sources but on different
build hosts. To help with creating a reproducible binary the elements in
blib.a must simply be sorted before passing them to $(AR).

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/firmware/etherboot/patches/build-compare.patch [new file with mode: 0644]
tools/firmware/etherboot/patches/series